package com.cpfmat.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.cpfmat.entity.ContentUser;
import com.cpfmat.entity.OtherUser;

public interface IOtherUserService extends IService<OtherUser> {

	int customUpdate(OtherUser user);

	OtherUser checkLogin(String loginName, String loginPwd);

	OtherUser hasUserByloginName(String loginName);
	OtherUser hasUserByPhonenum(String phonenum);
	OtherUser hasUserByEmail(String email);
	OtherUser checkUserById(String sqlId);
	
	Page<OtherUser> getcontentByUser(String userName, int pageNum, int pageSize);

	Page<OtherUser> getAllPage(int pageNum, int pageSize);
}
